package actor.controller
{
	import capricornus.actor.Actor;
	import capricornus.actor.controller.ActorImageController;
	import capricornus.actor.utils.ActionType;
	
	public class TowerImageController extends ActorImageController
	{
		public function TowerImageController(actor:Actor)
		{
			super(actor);
		}
		
		override public function playAction(actionType:int, times:int=1, endType:int=1, endTime:int=-1):void
		{
			if( actionType==ActionType.FIGHT )
			{
				_delayTime = _attribute.delayTime;
			}
			else
			{
				_delayTime = 150;
			}
			super.playAction( actionType, times, endType, endTime );
		}
	}
}